package com.example.adminbase.dao;

import com.example.adminbase.domain.SysUser;
import com.example.adminbase.domain.UserQueryParam;
import org.apache.ibatis.annotations.Param;
import java.util.List;

public interface SysUserMapper extends CrudDao<String, SysUser> {

    List<SysUser> findByQueryParam(UserQueryParam queryParam);

    SysUser findByUsernameAndPassword(@Param("username") String username, @Param("password") String password);

    SysUser findByUsername(@Param("username") String username);
}
